home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5428 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  810 b 

  1. Path: dyn013.king-george.va.us.crosslink.net!miller
  2. From: miller@crosslink.net (Randall Miller)
  3. Newsgroups: comp.lang.c++
  4. Subject: Question on storing a char as an int and retrieving it
  5. Date: Sun, 4 Feb 1996 12:41:19 UNDEFINED
  6. Organization: CrossLink Internet Services
  7. Message-ID: <miller.2.0025DF55@crosslink.net>
  8. NNTP-Posting-Host: dyn013.king-george.va.us.crosslink.net
  9. X-Newsreader: Trumpet for Windows [Version 1.0 Rev B final beta #1]
  10.  
  11. This might seem like as easy question, but I do need help
  12.  
  13. if I read in a char and store it in a stack of integers, I know how to 
  14. output it as a char by using cout.put(), but if I want to pop it off the stack
  15. and act on it as a char how do I convert it back to a char?
  16.  
  17.    thank you for any help you could give
  18.               
  19.                                    randy
  20.